export function getComponentByUrl(name) {
    const getComponentPath = () => require(`./src/${name}.vue`)
    return new Promise(resolve => {
        resolve(getComponentPath())
    })
}